/**
 * 直播参数 - api
 * @author xiaoxujs
 */

import { basicIp, newHttpService } from "../../../../../api/http"
import { ITlplTLaneRtspParamUpdateParams } from "./type"

// 获取直播参数
export const getTlplTLaneQueryRTSPParam = (data: {laneId: string}) => {
    const url = basicIp + '/tlpl/t-lane/queryRTSPParam'
    return newHttpService.getData(url, data)
}
// 设置直播参数
export const postTlplTLaneRtspParamUpdate = (data: ITlplTLaneRtspParamUpdateParams ) => {
    const url = basicIp + '/tlpl/t-lane/rtspParamUpdate';
    return newHttpService.postData(url, data)
}